<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>{$current['title']}-{$Think.CONFIG.sitename}</title>

    <link href="__PUBLIC__/static/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="__PUBLIC__/static/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="__PUBLIC__/static/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="__PUBLIC__/static/css/animate.min.css" rel="stylesheet">
    <include file="Public/commoncss" />

</head>

<body class="gray-bg top-navigation">
<div id="wrapper">
    <div id="page-wrapper" class="gray-bg">
        <div class="row border-bottom white-bg">
            <include file="Public/header" />
        </div>
        <div class="wrapper wrapper-content">
            <div class="row">
                <div class="col-sm-3">
                    <div class="ibox float-e-margins">
                        <include file="Public/sidenav" />
                    </div>
                </div>
                <div class="col-sm-9 animated fadeInRight">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>客户信息</h5>
                            <div class="ibox-tools">
                                <a href="javascript:;" style="color:dodgerblue;" onclick="window.location.href='{:U('index')}'">
                                    <i class="fa fa-home"></i>返回上一页
                                </a>
                            </div>
                        </div>
                        <div class="ibox-content">
                            <div class="tabs-container">
                                <div class="tabs-left">
                                    <ul class="nav nav-tabs">
                                        <volist name="customer" id="val" empty="没有找到匹配的记录">
                                            <li <if condition="$i eq 1">class="active" </if> ><a <if condition="$i eq 15">href="{:U('view')}?id={$val.id}" <else/> data-toggle="tab" href="#tab-{$i}" </if>>{$val.name}的名片</a></li>
                                        </volist>
                                    </ul>
                                    <div class="tab-content ">
                                        <volist name="customer" id="val" empty="没有找到匹配的记录">
                                            <div id="tab-{$i}" class="tab-pane <if condition="$i eq 1">active</if>">
                                                <div class="panel-body">
                                                    <strong>{$val.name}的名片</strong>
                                                    <small>创建于：{$val.time|beenTime}</small>
                                                    <p class="pull-right">{$val["stutas"]|getCtmerStu}</p>
                                                    <div class="wrapper wrapper-content project-manager">
                                                        <div class="contact-box">
                                                                <div class="col-sm-4">
                                                                    <div class="text-center">
                                                                        <if condition="$val['head']">
                                                                            <img src="{$val.head}" width="200" height="200">
                                                                            <else/>
                                                                            <img src="__PUBLIC__/static/img/a4.jpg" width="200" height="200">
                                                                        </if>
                                                                        <br>
                                                                        <div class="m-t-xs">{$val.type|getMemberType} {$val.sex|getCtmerSex}</div>
                                                                        <div class="m-t-xs">
                                                                            <a class="btn btn-xs btn-danger" style="color:#fff;"><i class="fa fa-share"></i>分享出去</a>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            <div class="col-sm-8">
                                                            <h3><strong>{$val.name}</strong></h3>

                                                            <p><i class="fa fa-map-marker"></i> {$val.address}</p>
                                                                <p>公司：{$val.hightech}</p>
                                                        <address>
                                                            <strong>联系方式</strong>
                                                            <p>E-mail:{$val.email}<br>手机号:{$val.phone}<br>座机电话:{$val.tel}<br>
                                                            QQ:{$val.qq}</p>
                                                            <p>介绍：{$val.description}</p>
                                                        </address>
                                                        </div>
                                                            <div class="clearfix"></div>
                                                        </div>
                                                    </div>


                                                </div>
                                        </div>
                                    </volist>
                                </div>

                            </div>

                        </div>


                    </div>
                </div>
            </div>
        </div>
    </div>

    <include file="Public/footer" />
</div>
</div>
<include file="Public/commonjs" />
<script src="__PUBLIC__/static/js/bootstrap.min.js?v=3.3.5"></script>
<script src="__PUBLIC__/static/js/content.min.js?v=1.0.0"></script>

</body>

</html>